

bool hal(char s){
	if(s == 'a' || s == 'A'){
		return true;
	}else if(s == 'e' || s == 'E'){
		return true;
	}else if(s == 'i' || s == 'I'){
		return true;
	}else if(s == 'o' || s == 'O'){
		return true;
	}else if(s == 'u' || s == 'U'){
		return true;
	}else{
		return false;
	}
}

bool halvesAreAlike(char * s){
	int num_a = 0;
	int num_b = 0;
	for(int i = 0;i<strlen(s)/2;i++){
		if(hal(s[i])){
			num_a ++;
		}
		if(hal(s[strlen(s) - i-1])){
			num_b ++;
		}
	}		
	if(num_a == num_b){
		return true;
	}else{
		return false;
	}
}


